package com.imc.core.config.websecurity;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Created by tanweiping on 2018/7/22.
 */
/*
* 类描述：对应的yml配置
* 开发者：tanweiping
* 创建日期：2018/8/7 10:29
*/
//@ConditionalOnExpression("${auth.security.use} == true ")
@Data
@Component
@ConfigurationProperties(prefix = "auth.security")
public class WebSecurityProperty {
    private String salt;
    private String[] permitAll;
    private String loginProcessingUrl;
    private String logoutUrl;

}
